package com.qfedu.entity;

public class AdminEntity {
    private int aid;
    private String aname;
    private String aacount;
    private String apass;
    private int astatus=-1;
    private String aphone;
    private String aemail;
    //设置当前页默认为第一页
    private int pageNum=1;
    private int pageSize=5;
    private String[] roles;

    @Override
    public String toString() {
        return "AdminEntity{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", aacount='" + aacount + '\'' +
                ", apass='" + apass + '\'' +
                ", astatus=" + astatus +
                ", aphone='" + aphone + '\'' +
                '}';
    }

    public String[] getRoles() {
        return roles;
    }

    public void setRoles(String[] roles) {
        this.roles = roles;
    }

    public String getAemail() {
        return aemail;
    }

    public void setAemail(String aemail) {
        this.aemail = aemail;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getAacount() {
        return aacount;
    }

    public void setAacount(String aacount) {
        this.aacount = aacount;
    }

    public String getApass() {
        return apass;
    }

    public void setApass(String apass) {
        this.apass = apass;
    }

    public int getAstatus() {
        return astatus;
    }

    public void setAstatus(int astatus) {
        this.astatus = astatus;
    }

    public String getAphone() {
        return aphone;
    }

    public void setAphone(String aphone) {
        this.aphone = aphone;
    }
}
